{% extends "moban1788/base.html" %}
{% block main %}
<div class="page-title cart-title">
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12 text-center p-static">
        <div class="page-heading">
          <h2 class="white text-uppercase fz-36 ls-2">国际版本</h2>
          <h6 class="work-sans fz-15 white mt-20">首页   <span class="mlr-10"> / </span>  版本发布表</h6>
        </div>
      </div>
    </div>
  </div>
</div>

<section class="pt-150">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="text-uppercase ls-3 bb gray-de"><span class="yellow"> 版本</span> 发布表</h1>
                <p class="mt-50 fz-15">
                    针对国际版本blued客户端每次发版,记录发版版本的版本号,发版时间,更新内容以及版本代码路径.
                </p>
            </div>
        </div>
        <div class="row" style="margin-bottom: 2%">
          <div class="col-md-12">
            <div class="table-responsive mt-70">
              <table class="table my-cart no-margin">
                <thead>
                  <tr>
                    <th class="col-md-1">版本号</th>
                    <th class="text-left col-md-2" >Android客户端</th>
                    <th class="col-md-2">ios客户端</th>
                    <th class="col-md-2">代码路径</th>
                    <th class="col-md-1">server</th>
                    <th class="col-md-3">更新备注</th>
                  </tr>
                </thead>
                <tbody>
                    {% for show in ireleaselist.object_list %}
                        <tr>
                            <div>
                                <td>{{ show.version }}</td>
                                <td>{{ show.android }}</td>
                                <td>{{ show.ios }}</td>
                                <td style="max-width: 150px">{{ show.path_code }}</td>
                                <td>{{ show.version_server }}</td>
                                <td>{{ show.remarks }}</td>
                            </div>
                        </tr>
                    {% empty %}
                        <tr>
                            暂无数据
                        </tr>
                    {% endfor %}
                </tbody>
              </table>
            <div class="row col-lg-12" style="text-align: center; margin-top: 2%">
                <span class="step-links">
                    <ul class="pager">
                     {% if ireleaselist.has_previous %}
                     <li class="prev">
                         <a href="?page={{ ireleaselist.previous_page_number }}" class="previous" style="font-size: 14px">上一页</a>
                     </li>
                     {% endif %}
                     第 {{ ireleaselist.number }}/{{ ireleaselist.paginator.num_pages }} 页
                     {% if ireleaselist.has_next %}
                         <li class="prev">
                             <a href="?page={{ ireleaselist.next_page_number }}" style="font-size: 14px">下一页</a>
                         </li>
                     {% endif %}
                        <li class="next"><a style="font-size: 14px">共{{ irelease.count }}条</a>
                    </ul>
                </span>
            </div>
            </div>
          </div>
        </div>
    </div>
</section>
{% endblock %}
{% block js %}
    <script src="../../../qa/static/js_new/jquery-1.12.4.min.js"></script>
    <script src="../../../qa/static/js_new/bootstrap.min.js"></script>
{% endblock %}
